cmake_minimum_required(VERSION 3.17)
project(pro2)

set(CMAKE_CXX_STANDARD 14)

SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-pthread")

include_directories("/home/hdf/progrom/github.com/muduo")
link_directories("/home/hdf/progrom/github.com/build/release-cpp11/lib")
link_libraries(
        libmuduo_base.a
        libmuduo_http.a
        libmuduo_inspect.a
        libmuduo_net.a
        libmuduo_pubsub.a
)

link_libraries(
        liblua.a
        libdl.so.2
)


find_package(OpenCV REQUIRED)

add_executable(pro1 main.cpp server/WaterMarkServer.h base/WaterMarkAdder.cpp base/WaterMarkAdder.h base/luaSet.h)

target_link_libraries(pro1  ${OpenCV_LIBS})